package test.singleton;

public class SingletonEager {

    private static final class SingletonHolder{
        private static final SingletonEager SINGLETON_EAGER=new SingletonEager();
    }

    private SingletonEager() {
    }

    public static SingletonEager getInstance(){
        return SingletonHolder.SINGLETON_EAGER;
    }
}
